package cn.flying.cloud.base.common.vo.layui;

import java.io.Serializable;
import java.util.List;

/**
 * xm-select 下拉框数据对象
 *
 * @author: admin
 * @date: 2022年06月06日 20:22
 * @version: 1.0
 */
public class XmSelect implements Serializable {

    /**
     * 属性值
     */
    private String value;
    /**
     * 属性名
     */
    private String name;
    /**
     * 父节点ID
     */
    private String pid;
    /**
     * 是否禁用
     */
    private boolean disabled;
    /**
     * 是否选中
     */
    private boolean selected;
    /**
     * 子节点
     */
    private List<XmSelect> children;

    public XmSelect() {
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public boolean isDisabled() {
        return disabled;
    }

    public void setDisabled(boolean disabled) {
        this.disabled = disabled;
    }

    public boolean isSelected() {
        return selected;
    }

    public void setSelected(boolean selected) {
        this.selected = selected;
    }

    public List<XmSelect> getChildren() {
        return children;
    }

    public void setChildren(List<XmSelect> children) {
        this.children = children;
    }
}
